|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jme3.scene.Spatial
com.jme3.scene.Node
ga.view.appstate.menu.MenuState.MenuNode
private class MenuState.MenuNode
A node for one model in the menu. Displays the image of the model.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.jme3.scene.Spatial |
---|
com.jme3.scene.Spatial.BatchHint, com.jme3.scene.Spatial.CullHint |
Field Summary | |
---|---|
private GASettings |
gaSetting
|
private java.lang.String |
name
|
private com.jme3.math.Vector3f |
orgLocation
|
private boolean |
selected
|
private com.jme3.math.Vector3f |
targetLocation
|
private com.jme3.font.BitmapText |
text
|
Fields inherited from class com.jme3.scene.Node |
---|
children |
Fields inherited from class com.jme3.scene.Spatial |
---|
batchHint, controls, cullHint, frustrumIntersects, key, localLights, localTransform, parent, queueBucket, queueDistance, refreshFlags, RF_BOUND, RF_LIGHTLIST, RF_TRANSFORM, shadowMode, userData, worldBound, worldLights, worldTransform |
Constructor Summary | |
---|---|
MenuState.MenuNode(GASettings gaSetting)
Instantiates a new menu node. |
Method Summary | |
---|---|
void |
setOrgLocation(com.jme3.math.Vector3f orgLocation)
Sets the original location for this node. |
void |
setSelected(boolean select)
Sets the node selected or deselected. |
void |
updateLogicalState(float tpf)
|
Methods inherited from class com.jme3.scene.Node |
---|
attachChild, attachChildAt, breadthFirstTraversal, clone, collideWith, deepClone, depthFirstTraversal, descendantMatches, descendantMatches, descendantMatches, detachAllChildren, detachChild, detachChildAt, detachChildNamed, getChild, getChild, getChildIndex, getChildren, getQuantity, getTriangleCount, getVertexCount, hasChild, read, setLightListRefresh, setLodLevel, setMaterial, setModelBound, setTransformRefresh, swapChildren, updateGeometricState, updateModelBound, updateWorldBound, write |
Methods inherited from class com.jme3.scene.Spatial |
---|
addControl, addLight, breadthFirstTraversal, center, checkCulling, clone, forceRefresh, getBatchHint, getControl, getControl, getCullHint, getKey, getLastFrustumIntersection, getLocalBatchHint, getLocalCullHint, getLocalLightList, getLocalQueueBucket, getLocalRotation, getLocalScale, getLocalShadowMode, getLocalToWorldMatrix, getLocalTransform, getLocalTranslation, getName, getNumControls, getParent, getQueueBucket, getShadowMode, getUserData, getUserDataKeys, getWorldBound, getWorldLightList, getWorldRotation, getWorldScale, getWorldTransform, getWorldTranslation, hasAncestor, localToWorld, lookAt, matches, move, move, removeControl, removeControl, removeFromParent, removeLight, rotate, rotate, rotateUpTo, runControlRender, scale, scale, setBatchHint, setBoundRefresh, setCullHint, setKey, setLastFrustumIntersection, setLocalRotation, setLocalRotation, setLocalScale, setLocalScale, setLocalScale, setLocalTransform, setLocalTranslation, setLocalTranslation, setName, setParent, setQueueBucket, setShadowMode, setUserData, toString, updateWorldLightList, updateWorldTransforms, worldToLocal |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private com.jme3.math.Vector3f targetLocation
private com.jme3.math.Vector3f orgLocation
private boolean selected
private final GASettings gaSetting
private final java.lang.String name
private final com.jme3.font.BitmapText text
Constructor Detail |
---|
public MenuState.MenuNode(GASettings gaSetting)
gaSetting
- the ga settingMethod Detail |
---|
public void setOrgLocation(com.jme3.math.Vector3f orgLocation)
orgLocation
- Original location.public void updateLogicalState(float tpf)
updateLogicalState
in class com.jme3.scene.Node
public void setSelected(boolean select)
select
- Selected.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |